//------------------------------------------------------------------------------
// X2D Game Engine
// Copyright (C) 2006-2007 Janusz Kowalski
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program.  If not, see <http://www.gnu.org/licenses/>.
//------------------------------------------------------------------------------

#include "x2tk_Screen.h"

#ifndef X2D_MAIN_H
#define X2D_MAIN_H

namespace x2d {

// Initialisation of the main module
void mainInit(int argc, char *argv[]);

// Is Main Menu Visible?
bool isMainMenu();

// Is Game Mode Active?
bool isGameMode();

// Is Edit Mode Active?
bool isEditMode();

// Show or hide main menu
void toggleMainMenu();

// Start the game
void startGame();

// Start edit mode
void startEdit();

// Exit the program
void mainExit();

// Return screen widget
x2tk::Screen *getScreenWidget();

// Get the FramesPerSecond value. This value is calculated every 0.5 sec.
int getFPS();

} // namespace x2d

#endif
